<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<style>
   .testcaseResultWrapper{
	   display:inline-block;
	   border: 1px dashed #1e90fc;
	   height: 35px;
	   line-height: 32px;
	   vertical-align: bottom;
	   margin-left: 30px;
   }
   
   .testCaseResultCount{
      font-size: 1.5rem;
      font-weight: bold;
      margin-right: 17px;
   }
</style>
<div>
  <div id="viewTestcaseBtnTool" class="tools" >
  <div class="input-field" style="width: 180px;">
	    <select id="execCaseSta" class="form-control chzn-select" onchange="searchSceneSta()">
	    	<option value="-1">全部</option>
	    	<option value="0">未测试</option>
	    	<option value="1">通过</option>
	    	<option value="2">不通过</option>
	    </select>
	</div>
	<button type="button" class="btn btn-default" onclick="handleExecuteSceneCase()"><i class="glyphicon glyphicon-asterisk"></i>测试</button>
    <button type="button" class="btn btn-default" onclick="delSelectedSceneCase()" ><i class="glyphicon glyphicon glyphicon-remove"></i>移除用例</button>
    <button type="button" class="btn btn-default" onclick="closeExecSceneCaseWin()"><i class="glyphicon glyphicon-off"></i>关闭</button>
    	<button type="button" class="btn btn-default" onclick="executeAllSceneCase()"><i class="glyphicon glyphicon-asterisk"></i>一键全部测试</button>
    
    <div class="testcaseResultWrapper">    
    <ul style="display: flex;list-style: none;margin:0">
      <li class="testCaseResultCount" style="color:#a3d3fe;"><span >总用例数：</span><span id="sceneCaseAllCount">0</span></li>
      <li class="testCaseResultCount" style="color: #71CD71;"><span >通过数：</span><span id="sceneCasePassCount">0</span></li>
      <li class="testCaseResultCount" style="color: #ED8282;"><span >未通过数：</span><span id="sceneCaseFailedCount">0</span></li>
      <li class="testCaseResultCount" style="color: #B7AB9C;"><span >未测试数：</span><span id="sceneCaseNoTestCount">0</span></li>
    </ul>
    </div>
  </div><!--/.top tools area-->
  <div style="width:100%;display:inline-block">
    <table id="execSceneCaseList" style="width:100%;height: auto;" data-options="fitColumns: true,
	rownumbers: true,
	singleSelect: true,
	pagination: true,
	pageNumber: 1,
	pageSize: 10,
	layout:['list','first','prev','manual','next','last','refresh','info']
	"></table>
  </div>
  <div style="border:1px solid #eee;margin:10px 0;clear:both"></div>
</div>

<%-- <script type="text/javascript" src="<%=request.getContextPath()%>/itest/js/apiManager/testSceneManager/viewSceneCase.js" charset="utf-8"></script>
 --%>
<script src="<%=request.getContextPath()%>/itest/js/apiManager/testSceneManager/executeSceneCase.js" type="text/javascript" charset="utf-8"></script>